
<div class="col-lg-3 col-md-3">
  <div class="thumbnail" style="background-color:rgba(255, 255, 255, 0.7); text-align:center;height:400px">
      <a href="#" class="btn-food-detail" data-id="{{ $entry->id }}"><img src="{{URL::to('file/image_crop/4/3/300?name=').(($entry->thumbs->count()>0) ? $entry->thumbs->first()->path : 'default_food.jpg') }}" class="ui-li-thumb"></a>

    <div class="caption">
      <div class="alert alert-danger" style="font-size:20px; font-weight:bold;">
          <span class="food-name" data-id="{{$entry->id}}">{{$entry->name}}</span>
          <span class="fa fa-cny" style="font-size:14px;"></span>
          <span class="food-price">{{$entry->price}}</span>
      </div>
      <p style="margin-top:10px; margin-bottom:10px;">
          <a href="#" class="btn btn-danger btn-buy btn-lg" role="button" {{ $entry->count <= 0 ? "disabled='disabled'" : ""}} >
              <span class="glyphicon glyphicon-shopping-cart"></span>&nbsp;&nbsp;加入订单
          </a>
      </p>
    </div>
  </div>
</div>
